<template>
  <div>
   <el-row :gutter="20">
      <el-col :lg="12">
        <div class="hmain mt20">
          <div class="hmain_title">近七日打卡数据对比</div>
          <div class="hmain_chart">
            <echarts-bar id="echartBar" chartType="line"></echarts-bar>
          </div>
        </div>
      </el-col>
      <el-col :lg="12">
        <div class="hmain mt20">
          <div class="hmain_title">
            打卡通过率
          </div>
          <div class="hmain_chart">
            <echarts-line id="echartLine" chartType="line"></echarts-line>
          </div>
        </div>
      </el-col>
      <el-col :lg="12">
        <div class="hmain mt20">
          <div class="hmain_title">近七日打卡数据对比</div>
          <div class="hmain_chart">
            <echarts-pie id="echartPie" chartType="line"></echarts-pie>
          </div>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script setup>
import echartsLine from '@/views/mycomponents/echarts/echartsLine.vue'
import echartsBar from '@/views/mycomponents/echarts/echartsBar.vue'
import echartsPie from '@/views/mycomponents/echarts/echartsPie.vue'
import { useRouter } from 'vue-router';
const router = useRouter();

</script>

<style scoped lang="scss">
.hmain {
  height: auto;
  overflow: hidden;
  background: #FFFDFF;
  border-radius: 4px;
  padding: 26px 30px;
  overflow: hidden;
  .hmain_title {
    font-family: MicrosoftYaHei;
    font-size: 20px;
    color: #353535;
    display: flex;
    align-items: center;
    height: 32px;
  }
  .hmain_chart{
    height: 260px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
  }
}
</style>

